//
// Created by Administrator on 2024/7/18.
//

#include <iostream>
#include <vector>
#include <stack>

using namespace std;

int main()
{
    stack<int> s;
    s.push(1);
    cout<<s.top()<<endl;
    s.pop();
    cout<<s.empty()<<endl;
    return 0;
}